\section{sdo.\+h File Reference}
\label{sdo_8h}\index{sdo.\+h@{sdo.\+h}}


Ether\+C\+AT C\+A\+Nopen S\+DO structure.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \textbf{ ec\+\_\+sdo}
\begin{DoxyCompactList}\small\item\em C\+A\+Nopen S\+DO. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\label{sdo_8h_ac99e87366c0031106442aa389ce7f228}} 
void \textbf{ ec\+\_\+sdo\+\_\+init} (\textbf{ ec\+\_\+sdo\+\_\+t} $\ast$, \textbf{ ec\+\_\+slave\+\_\+t} $\ast$, uint16\+\_\+t)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+sdo\+\_\+clear} (\textbf{ ec\+\_\+sdo\+\_\+t} $\ast$)
\begin{DoxyCompactList}\small\item\em S\+DO destructor. \end{DoxyCompactList}\item 
\textbf{ ec\+\_\+sdo\+\_\+entry\+\_\+t} $\ast$ \textbf{ ec\+\_\+sdo\+\_\+get\+\_\+entry} (\textbf{ ec\+\_\+sdo\+\_\+t} $\ast$, uint8\+\_\+t)
\begin{DoxyCompactList}\small\item\em Get an S\+DO entry from an S\+DO via its subindex. \end{DoxyCompactList}\item 
const \textbf{ ec\+\_\+sdo\+\_\+entry\+\_\+t} $\ast$ \textbf{ ec\+\_\+sdo\+\_\+get\+\_\+entry\+\_\+const} (const \textbf{ ec\+\_\+sdo\+\_\+t} $\ast$, uint8\+\_\+t)
\begin{DoxyCompactList}\small\item\em Get an S\+DO entry from an S\+DO via its subindex. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Ether\+C\+AT C\+A\+Nopen S\+DO structure. 



\subsection{Function Documentation}
\mbox{\label{sdo_8h_a2f3bd87a0df2cff2b6201d26052dc14b}} 
\index{sdo.\+h@{sdo.\+h}!ec\+\_\+sdo\+\_\+clear@{ec\+\_\+sdo\+\_\+clear}}
\index{ec\+\_\+sdo\+\_\+clear@{ec\+\_\+sdo\+\_\+clear}!sdo.\+h@{sdo.\+h}}
\subsubsection{ec\+\_\+sdo\+\_\+clear()}
{\footnotesize\ttfamily void ec\+\_\+sdo\+\_\+clear (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+sdo\+\_\+t} $\ast$}]{sdo }\end{DoxyParamCaption})}



S\+DO destructor. 

Clears and frees an S\+DO object. 
\begin{DoxyParams}{Parameters}
{\em sdo} & S\+DO. \\
\hline
\end{DoxyParams}


Definition at line 67 of file sdo.\+c.

\mbox{\label{sdo_8h_a584a2dd3378e767d92f0485e1d89679a}} 
\index{sdo.\+h@{sdo.\+h}!ec\+\_\+sdo\+\_\+get\+\_\+entry@{ec\+\_\+sdo\+\_\+get\+\_\+entry}}
\index{ec\+\_\+sdo\+\_\+get\+\_\+entry@{ec\+\_\+sdo\+\_\+get\+\_\+entry}!sdo.\+h@{sdo.\+h}}
\subsubsection{ec\+\_\+sdo\+\_\+get\+\_\+entry()}
{\footnotesize\ttfamily \textbf{ ec\+\_\+sdo\+\_\+entry\+\_\+t}$\ast$ ec\+\_\+sdo\+\_\+get\+\_\+entry (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+sdo\+\_\+t} $\ast$}]{sdo,  }\item[{uint8\+\_\+t}]{subindex }\end{DoxyParamCaption})}



Get an S\+DO entry from an S\+DO via its subindex. 


\begin{DoxyRetVals}{Return values}
{\em $>$0} & Pointer to the requested S\+DO entry. \\
\hline
{\em N\+U\+LL} & S\+DO entry not found. \\
\hline
\end{DoxyRetVals}

\begin{DoxyParams}{Parameters}
{\em sdo} & S\+DO. \\
\hline
{\em subindex} & Entry subindex. \\
\hline
\end{DoxyParams}


Definition at line 91 of file sdo.\+c.

\mbox{\label{sdo_8h_a2a3fa7a030cf23306c37e5628d11838b}} 
\index{sdo.\+h@{sdo.\+h}!ec\+\_\+sdo\+\_\+get\+\_\+entry\+\_\+const@{ec\+\_\+sdo\+\_\+get\+\_\+entry\+\_\+const}}
\index{ec\+\_\+sdo\+\_\+get\+\_\+entry\+\_\+const@{ec\+\_\+sdo\+\_\+get\+\_\+entry\+\_\+const}!sdo.\+h@{sdo.\+h}}
\subsubsection{ec\+\_\+sdo\+\_\+get\+\_\+entry\+\_\+const()}
{\footnotesize\ttfamily const \textbf{ ec\+\_\+sdo\+\_\+entry\+\_\+t}$\ast$ ec\+\_\+sdo\+\_\+get\+\_\+entry\+\_\+const (\begin{DoxyParamCaption}\item[{const \textbf{ ec\+\_\+sdo\+\_\+t} $\ast$}]{sdo,  }\item[{uint8\+\_\+t}]{subindex }\end{DoxyParamCaption})}



Get an S\+DO entry from an S\+DO via its subindex. 

const version.


\begin{DoxyRetVals}{Return values}
{\em $>$0} & Pointer to the requested S\+DO entry. \\
\hline
{\em N\+U\+LL} & S\+DO entry not found. \\
\hline
\end{DoxyRetVals}

\begin{DoxyParams}{Parameters}
{\em sdo} & S\+DO. \\
\hline
{\em subindex} & Entry subindex. \\
\hline
\end{DoxyParams}


Definition at line 116 of file sdo.\+c.

